@import (reference) './var';

.bt-primary{
  height: 20px;
  width: 60px;
  line-height: 20px;
  font-size: 12px;
  padding: 5px;
  border-radius: 2px;
  color: #fff;
  text-align: center;
  background: @blColorB;
  :hover{
    background: @blColorC;    
  }
}
.bt-delete{
  &:extend(.bt-primary);
  width: 40px;
  background: @rdColorB;
}
.poi{
  cursor: pointer;
}
.none{
  display: none !important;
}
//字体   大小循环
.loop(@font) when (@font > 12) {
  .loop((@font - 1));
  .fz-@{font}{
    font-size: (@font + 0px);
  }
  .fh-@{font}{
    line-height: (@font + 0px);
  }
}
.loop(@font);
.fc{
  text-align:center;
}
//字高循环
// .loop(@font) when (@font > 12) {
//   .loop((@font - 1));
//   .lh-@{font}{
//     line-height: (@font + 0px);
//   }
// }
// .loop(@font);

.flex{
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
}
.pos-ab{
  position: absolute;
}
.pos-re{
  position: relative;
}
.nav{
  &:extend(.flex);
  width: 1200px;
  border-bottom: 1px solid @blColorB;
  height: 50px;
  margin: 0 auto;
  background: #fff;
}